1 /* Automatically generated nanopb header */
2 /* Generated by nanopb-0.3.7-dev */
4 #ifndef PB_GRPC_LB_V1_LOAD_BALANCER_PB_H_INCLUDED
5 #define PB_GRPC_LB_V1_LOAD_BALANCER_PB_H_INCLUDED
7 #include "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h"
8 #include "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.h"
9 /* @@protoc_insertion_point(includes) */
10 #if PB_PROTO_HEADER_VERSION != 30
11 #error Regenerate this file with the current version of nanopb generator.
18 /* Struct definitions */
19 typedef struct _grpc_lb_v1_ServerList {
20 pb_callback_t servers;
21 /* @@protoc_insertion_point(struct:grpc_lb_v1_ServerList) */
22 } grpc_lb_v1_ServerList;
24 typedef struct _grpc_lb_v1_ClientStats {
26 google_protobuf_Timestamp timestamp;
27 bool has_num_calls_started;
28 int64_t num_calls_started;
29 bool has_num_calls_finished;
30 int64_t num_calls_finished;
31 bool has_num_calls_finished_with_client_failed_to_send;
32 int64_t num_calls_finished_with_client_failed_to_send;
33 bool has_num_calls_finished_known_received;
34 int64_t num_calls_finished_known_received;
35 pb_callback_t calls_finished_with_drop;
36 /* @@protoc_insertion_point(struct:grpc_lb_v1_ClientStats) */
37 } grpc_lb_v1_ClientStats;
39 typedef struct _grpc_lb_v1_ClientStatsPerToken {
40 pb_callback_t load_balance_token;
43 /* @@protoc_insertion_point(struct:grpc_lb_v1_ClientStatsPerToken) */
44 } grpc_lb_v1_ClientStatsPerToken;
46 typedef struct _grpc_lb_v1_InitialLoadBalanceRequest {
49 /* @@protoc_insertion_point(struct:grpc_lb_v1_InitialLoadBalanceRequest) */
50 } grpc_lb_v1_InitialLoadBalanceRequest;
52 typedef struct _grpc_lb_v1_InitialLoadBalanceResponse {
53 bool has_load_balancer_delegate;
54 char load_balancer_delegate[64];
55 bool has_client_stats_report_interval;
56 google_protobuf_Duration client_stats_report_interval;
57 /* @@protoc_insertion_point(struct:grpc_lb_v1_InitialLoadBalanceResponse) */
58 } grpc_lb_v1_InitialLoadBalanceResponse;
60 typedef PB_BYTES_ARRAY_T(16) grpc_lb_v1_Server_ip_address_t;